package com.itgacl.magic4j.modules.comm.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itgacl.magic4j.modules.comm.dto.CommLicenseDTO;
import com.itgacl.magic4j.modules.comm.vo.CommLicenseVo;
import com.itgacl.magic4j.modules.comm.entity.CommLicense;
import com.itgacl.magic4j.common.bean.PageData;
import com.itgacl.magic4j.common.bean.PageParam;
import java.util.List;

/**
 * @Classname CommLicenseService
 * @Description license信息表 Service
 * @Author Created by xudp (alias:孤傲苍狼) 290603672@qq.com
 * @Date 2021-12-26
 * @Version 1.0
 */
public interface CommLicenseService extends IService<CommLicense> {

    void create(CommLicenseDTO commLicenseDTO);

    void update(CommLicenseDTO commLicenseDTO);

 
    void deleteById(Long id);

    void deleteByIds(List<Long> idList);

    CommLicenseVo getCommLicenseById(Long id);

    void delete(QueryWrapper<CommLicense> queryWrapper);

    void deleteAll();

    List<CommLicenseVo> getList(QueryWrapper<CommLicense> queryWrapper);

    PageData<CommLicenseVo> pageList(Page<CommLicense> page, QueryWrapper<CommLicense> queryWrapper);

    PageData<CommLicenseVo> pageList(PageParam pageParam, QueryWrapper<CommLicense> queryWrapper);
}
